package com.edu.service;

import com.edu.beans.Vip;
import com.edu.exception.UsedException;

import java.util.List;

public interface VipsService {
    int addVip(Vip vip) throws UsedException;

    List<Vip> findVipsByPhone(String phone);

    int deleteVipById(int id) throws UsedException;

    Vip findVipByid(int id);

    int updateVip(Vip vip);

    List<Vip> getAllVips();
}
